<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-16" />
<title>Untitled Document</title>
<link rel="stylesheet" href="<?php echo STATIC_DOMAIN;?>css/reset.css" type="text/css" media="all"/>
<link rel="stylesheet" href="<?php echo STATIC_DOMAIN;?>css/buiding.css" type="text/css" media="all"/>
<script type="text/javascript" src="<?php echo STATIC_DOMAIN;?>js/jquery-1.8.2.min.js"></script>
</head>
<body>
	<div id="container">
    	<div id="header">
        </div>
        <!-- end header-->
        <div id="wrapper">
        	<div id="sidebar">
            	<ul class="navi">
                	<li><a>Trang chủ</a></li>
                    <li><a>Giới thiệu</a></li>
                    <li><a>Hướng dẫn</a></li>
                    <li><a>Chat</a></li>
                    <li class="marbottom20"><a>Đăng nhập</a></li>
                    
                	<li><a>Forum</a></li>
                    <li><a>Cốt truyện</a></li>
                    <li><a>Trợ giúp</a></li>
                    <li><a>Liên hệ</a></li>
                    <li><a>Tìm hiểu</a></li>
                    <li><a href="<?php echo site_url("report");?>">Báo cáo</a></li>
                    <li><a href="<?php echo site_url("map");?>">Bản đồ</a></li>
                    <li><a href="<?php echo site_url("logout");?>">Thoát ra</a></li>
                </ul>
            </div>
        	<div id="content" class="padtop20 padleft20">
                <div id="report" style="width: 70%;">
                    <div class="head_dark pad5">
                        <p>Báo cáo</p>
                    </div>
                    <div>
                        <table class="report-tbl-list" width="100%">
                            <thead>
                                <tr>
                                    <th width="15"><input onclick="sChkAll(this, '#viewInfo', 'sChkItem', '#hddIdAction');" type="checkbox" /></th>
                                    <th class="text-center bold"><label>Tiêu đề</label></th>
                                    <th class="text-center bold"><label>Thời gian</label></th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php
                                    foreach($info as $if){
                                ?>
                                <tr>
                                    <td>
                                        <p>
                                            <input id="hdd_<?php echo $if['id'];?>" value="<?php echo $if['id'];?>" class="sChkItem" type="checkbox" />
                                        </p>
                                    </td>
                                    <td>
                                        <p class="text-left padleft5 padright5">
                                            <a href="<?php echo site_url("report/r?id=").$if['id'];?>">
                                                <?php
                                                    echo $if['from_city'].$report_lang['report_type'][$if['typereport']].$if['to_city'].'['.$if['to_user'].']';
                                                ?>
                                            </a>
                                        </p>
                                    </td>
                                    <td>
                                        <p class="text-center padleft5 padright5">
                                            <?php echo gmdate('d/m/Y H:i', $if['timestamp']);?>
                                        </p>
                                    </td>
                                </tr>
                                <?php
                                    }
                                ?>
                            </tbody>
                        </table>
                        <input id="hddIdAction" name="hddIdAction" type="hidden" value="" />
                    </div>
                    <br />
                    <table class="tbl-list">
                        <tr>
                            <td>
                                <p class="ver-middle float-left">
                                    <input class="pad5" id="uname" name="uname" type="text" size="20" />
                                    <input class="pad5 marleft10" type="submit" value="Tìm kiếm" />
                                </p>
                                <p class="ver-middle float-left padtop5">
                                    <a class="marleft10" href="#" title="Xem lùi">Back</a>
                                    <a class="marleft10" href="#" title="Xem tới">Next</a>
                                </p>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
     </div>
</body>
</html>